GraphSearchNet: Enhancing GNNs via Capturing Global Dependencies for Semantic Code Search
نویسندگان
چکیده
Code search aims to retrieve accurate code snippets based on a natural language query improve software productivity and quality. With the massive amount of available programs such as (on GitHub or Stack Overflow), identifying localizing precise is critical for developers. In addition, Deep learning has recently been widely applied different code-related scenarios, e.g., vulnerability detection, source summarization. However, automated deep still challenging since it requires high-level semantic mapping between queries. Most existing learning-based approaches rely sequential text i.e., feeding program flat sequence tokens learn semantics while structural information not fully considered. Furthermore, adopted Graph Neural Networks (GNNs) have proved their effectiveness in semantics, however, they also suffer problem capturing global dependencies constructed graph, which limits model capacity. To address these challenges, this paper, we design novel neural network framework, named GraphSearchNet, enable an effective by jointly rich both Specifically, propose construct graphs queries with bidirectional GGNN (BiGGNN) capture local enhance BiGGNN utilizing multi-head attention module supplement that missed The extensive experiments Java Python programming from public benchmark CodeSearchNet confirm GraphSearchNet outperforms current state-of-the-art works significant margin.
منابع مشابه
SnippetGen: Enhancing the Code Search via Intent Predicting
To enable the cod sarch results to run immediately without any subsequent modification, an intent-enhanced code search approach (IECS) is proposed. It has the ability of intent predicting to guess what else a user might do after obtaining the search results. Based on the intent-relevant semantic and structural matches, IECS improves the performance of code search by incorporating the intent for...
متن کاملPrototype for Enhancing Search Engine Performance Using Semantic Data Search
Information‘s on Internet are vast that are retrieved by the search engines based on page ranks. But the search results are not related to one particular user‘s environment. Many researches had been possessed to provide better results. In this project, we propose a new system called as Semantic Search log Social Personalized Search which would be able to provide results for search query that re...
متن کاملImproved Cuckoo Search Algorithm for Global Optimization
The cuckoo search algorithm is a recently developedmeta-heuristic optimization algorithm, which is suitable forsolving optimization problems. To enhance the accuracy andconvergence rate of this algorithm, an improved cuckoo searchalgorithm is proposed in this paper. Normally, the parametersof the cuckoo search are kept constant. This may lead todecreasing the efficiency of the algorithm. To cop...
متن کاملDistributed Code Search Engine for Enhancing Reusability in Enterprise Projects
In IT industry, one of the most important goal of the organization is to reduce overall cost of development. One way to achieve this is making the developers to write modular and reusable code organized in subroutines or packaged libraries. The difficult challenge is to search through code spanning across millions of lines used in various legacy projects. This paper explains about a framework t...
متن کاملEnhancing Web Search with Heterogeneous Semantic Knowledge
This paper explores four kinds of semantic knowledge to improve keyword-based Web search, including thesauruses, categories, ontologies, and social annotations. These heterogeneous semantic knowledge represent meanings of Web information, thus they can be used to improve search results in respect of semantic relevance. Currently, different semantic search paradigms have been developed for diffe...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: IEEE Transactions on Software Engineering
سال: 2023
ISSN: ['0098-5589', '1939-3520', '2326-3881']
DOI: https://doi.org/10.1109/tse.2022.3233901